import Taro, {Component} from "@tarojs/taro";
import {View, ScrollView, Image, Text} from "@tarojs/components";
import './index.less'
import lawyer_pic from "../../assets/img/icon_16.png";

class Company extends Component {
  constructor() {
    super()
  }

  render() {
    return (
      <View className='my-my_profit'>

        <ScrollView className='scroll-view-nav' scrollX={ true }>
          <View className='scroll-item scroll-item-on'>
            收益明细
            <Text className='line' />
          </View>
          <View className='scroll-item'>提现明细<Text className='line' /></View>
        </ScrollView>

        <View className='all-profit' >
          累计收益： ￥6666666
        </View>

        <View className='list-18-item'>
          <Image src={lawyer_pic} className='img'/>
          <View className='r'>
            <View className='line line1'>
              <View className='list-title'>罗东
              </View>
              <View className='list-info'>2019-12-5 12:12:12</View>
            </View>
            <View className='line line2 line-cash'>
              <View className='list-title'>-50.00</View>
              <View className='type cashing'>提现中</View>
            </View>
          </View>
        </View>

        <View className='list-18-item'>
          <Image src={lawyer_pic} className='img'/>
          <View className='r'>
            <View className='line line1'>
              <View className='list-title'>罗东
              </View>
              <View className='list-info'>2019-12-5 12:12:12</View>
            </View>
            <View className='line line2 line-cash'>
              <View className='list-title'>-50.00</View>
              <View className='type success'>提现成功</View>
            </View>
          </View>
        </View>

        <View className='list-18-item'>
          <Image src={lawyer_pic} className='img'/>
          <View className='r'>
            <View className='line line1'>
              <View className='list-title'>罗东
              </View>
              <View className='list-info'>2019-12-5 12:12:12</View>
            </View>
            <View className='line line2 line-cash'>
              <View className='list-title'>-50.00</View>
              <View className='type warn'>提箱失败：恶意操作</View>
            </View>
          </View>
        </View>
      </View>
    )
  }
}

export default Company
